//package org.example.dao;
//
//import org.apache.ibatis.annotations.Param;
//import org.example.dto.GradeDto;
//import org.example.vo.GradeVo;
//
//import java.util.List;
//
//public interface GradeDao {
//    Integer addGrade(Grade grade);
//    Integer updateGrade(Grade grade);
//    Integer deleteGrade(Integer gradeId);
//    List<Grade> queryAllGrade();
//    Integer countGrade();
//    List<Grade> queryGradeByDepartmentAndMajor(@Param("departmentName") String department, @Param("majorName") String major);
//    GradeDto queryGradeById(Integer gradeId);
//    Integer countGradeByDepartmentAndMajor(@Param("departmentName") String department, @Param("majorName") String major);
//
//}
